﻿using System.Collections.Generic;
using System.Net;
using __ts.Core.Api;

/*
 *  author: able
 *  @2012/2/21 12:25:12
 * 
 */
namespace __ts.Core.Service.Client
{
    /// <summary>
    /// 
    /// </summary>
    public abstract class AbstractIoClient : AbstractIoService, IoClient
    {
        public IDictionary<string, IoSession> getManagedSessions()
        {
            return null;
        }

        public void addListener(IoServiceListener listener)
        {
        }

        public void removeListener(IoServiceListener listener)
        {
        }

        public long getConnectTimeoutMillis()
        {
            return 0;
        }

        public void setConnectTimeoutMillis(long connectTimeoutInMillis)
        {
        }

        public IoFuture<IoSession> connect(SocketAddress remoteAddress)
        {
            return null;
        }

        public IoFuture<IoSession> connect(SocketAddress remoteAddress, SocketAddress localAddress)
        {
            return null;
        }
    }
}